<%@page contentType="text/html;charset=utf-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<link href="../css/book_head090107.css" rel="stylesheet" type="text/css" />
<div class="head_container">
	<div class="head_welcome">
		<div class="head_welcome_right">
			<span class="head_welcome_text"> </span>
			<span class="head_welcome_text"> <span class="little_n">
					| <a href="#" name="mydangdang" class="head_black12a">我的当当</a> | <a
					href="http://support.dangdang.com/helpcenter/" name="helpcenter" class="head_black12a" target="_blank">帮助</a>
					| </span> </span>
			<div class="cart gray4012">
				<a href="../cart/cart.action">购物车</a>
			</div>
		</div>
		<span class="head_toutext" id="logininfo">
		<span style="color:green">
			<!-- <s:property value="session.nickname"/> ${sessionScope.nickname}-->
			<!--  
			<c:choose>
			<c:when test="${!empty sessionScope.d_user.nickname}">
			[${sessionScope.d_user.nickname}]
			</c:when>
			</c:choose>
			-->
			<s:if test="#session.d_user.nickname!=null">
				[<s:property value="#session.d_user.nickname"/>]
			</s:if>
		</span>您好，欢迎光临当当网
		<s:if test="#session.d_user.nickname!=null">
			[&nbsp;<a href="/dang/user/logout.action" class="b">退出</a>&nbsp;]
			<s:if test="#session.lasttime!=null">
				<span style="color:red;font-size:8px" >上次登录时间:<s:property value="#session.lasttime"/> </span>
			</s:if>
			<s:else>
				<span style="color:red">您是第一次登录</span>
			</s:else>
		</s:if>
		<s:else>
			[&nbsp;<a href="../user/login_form.jsp" class="b">登录</a>|<a href="../user/register.jsp" class="b">注册</a>&nbsp;]
		</s:else>
		<!--  
		<c:choose>
			<c:when test="${!empty sessionScope.d_user.nickname}">
				[&nbsp;<a href="logout.action" class="b">登出</a>&nbsp;]
				<c:choose>
					<c:when test="${!empty sessionScope.d_user.lastLoginTime}">
						<span style="color:red">上次登录时间：${sessionScope.lasttime}</span>
					</c:when>
					<c:otherwise>
						<span style="color:red">您是第一次登录</span>
					</c:otherwise>
				</c:choose>	
			</c:when>
			<c:otherwise>
				[&nbsp;<a href="../user/login_form.jsp" class="b">登录</a>|<a href="../user/register_form.jsp" class="b">注册</a>&nbsp;]
			</c:otherwise>
		</c:choose>
		-->
			
		
		
			
	
		<s:else>
			
		</s:else>
		
		
		</span>
	</div>
	<div class="head_head_list">
		<div class="head_head_list_left">
			<span class="head_logo"><a href="#" name="backtobook"><img
						src="../images/booksaleimg/book_logo.gif" /> </a> </span>
		</div>
		<div class="head_head_list_right">

			<div class="head_head_list_right_b">
			</div>
		</div>
	</div>
	<div class="head_search_div">
	
	<div id="search_box" style="width: 201px; 
height: 31px; 
background: url(../images/bg_search_box.gif);"> 
<form id="search_form" method="get" action="search"> 
<input type="text" name="keyWords " id="s" value="Search" class="swap_value" style="float: left; padding: 0; margin: 6px 0 0 6px; 
border: 0; 
width: 159px; 
background: none; 
font-size: .8em; "/> 
<input type="image" src="../images/btn_search_box.gif" width="27" height="24" id="go" alt="高富帅" title="高富帅" style="float: right; 
margin: 3px 4px 0 0; "/> 
<input  type="text" name=cid value="1" style="display:none;"/>
</form> 
</div> 
	
		<!-- 
		<form action="search.action" method="get">
		<span style="background:url('../images/123.jpg') repeat;width:43px; "> <input type="text" name=keyWords style="width=30px;heigth=50px"/> <input  type="text" name=cid value="1" style="display:none;"/>   </span>
		
		<input type="submit" value="搜   索"/>
		</form>
		 -->
		
	<EMBED src='../css/123.mp3' height=0 type=audio/mpeg loop="true" autostart="true"> 
	</div>
	<div class="head_search_bg"></div>
</div>
